package com.mvu.banana.internal.server;

import org.apache.commons.lang.RandomStringUtils;

import java.util.Date;
import java.util.Random;

/**
 * Class description...
 *
 * @author gantz
 */
public class RandomGenerator {
  public static String randomString(){
    return RandomStringUtils.randomAlphabetic(10);
  }

  static final String[] names = new String[]{
          "Scott", "Adams", "Mike", "Abney", "David", "Green", "Peter",
          "Troner", "Minh", "Vu", "Hieu", "Nguyen", "Thai", "Hoang",
          "Jiong", "Shen", "Wang", "Harry", "Cook", "Jane", "Anna", "Phuong"
  };
  public static String randomName(){
    int i = new Random().nextInt(names.length);
    int j = new Random().nextInt(names.length);
    return names[i] + " " + names[j];
  }
}
